package com.atguigu.pojo;


public class Food {
    private Integer id;
    private String food_name;
    private Integer price;
    private String img_path;
    private Integer food_id;

    public Food() {
    }

    public Food(Integer id, String food_name, Integer price, String img_path, Integer food_id) {
        this.id = id;
        this.food_name = food_name;
        this.price = price;
        this.img_path = img_path;
        this.food_id = food_id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFood_name() {
        return food_name;
    }

    public void setFood_name(String food_name) {
        this.food_name = food_name;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getImg_path() {
        return img_path;
    }

    public void setImg_path(String img_path) {
        this.img_path = img_path;
    }

    public Integer getFood_id() {
        return food_id;
    }

    public void setFood_id(Integer food_id) {
        this.food_id = food_id;
    }

    @Override
    public String toString() {
        return "Food{" +
                "id=" + id +
                ", food_name='" + food_name + '\'' +
                ", price=" + price +
                ", img_path='" + img_path + '\'' +
                ", food_id=" + food_id +
                '}';
    }
}
